This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 183
wipe out workspace before deleting jobs #42
Open
denmarkin
wants to merge
15
commits into
entagen:master
Choose a base branch
from
revdotcom:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi Dennis, Do you know if this solution works for cleaning up the workspace across multiple slaves? We currently have a different solution in place for doing this that is independent of Jenkins Build-Per-Branch, but if that API call can handle cleaning up all slaves as well, then I'll gladly merge this! |
Hi James, unfortunately I don't have experience using slaves. Looking at https://issues.jenkins-ci.org/browse/JENKINS-4646, it seems like it's not implemented yet. |
…ches with the same name but different case
Cleanup is kicked off as a separate build step in Jenkins. Added script to create properties file for the cleanup job
FOX-6280:Remove feature prefix from this script
FOX-6280:Change feature branches to - not _
* FOX-6280:Only start build branches * FOX-6280:Stop job while deleting branch * FOX-6280: Refactor retry
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We were running out of space very quickly leaving abandoned workspaces (workspace is not inside job folder, so it cannot be deleted automatically by simply deleting a job).